//
//  TTOSSManager.h
//  OSSDEMO
//
//  Created by 王洋 on 2019/9/27.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TTOSSManager : NSObject

typedef void (^finishBlock)(id data);
typedef void (^FailedBlock)(NSError *error);

@property(copy,nonatomic)finishBlock finishBlock;
@property(copy,nonatomic)FailedBlock failedBlock;
typedef void (^UploadProgress)(NSInteger index);

+(void)uploadPhoto:(NSMutableArray <NSData *>*)imageArray type:(NSString *)imageType FinishBlock:(finishBlock)finishBlock UploadProgress:(UploadProgress)uploadProgress FailedBlock:(FailedBlock)failedBlock;

@end

NS_ASSUME_NONNULL_END
